@import '../../../var.scss';
page {
  background-color: $page-background-color;
}
.bottom {
  z-index: 110;
}
.img {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 311rpx;
  background-color: #fff;
  border-bottom: 0.5rpx solid $border-color;
  .bg {
    width: 180rpx;
    height: 250rpx;
    background-color: $page-background-color;
    border-radius: 8rpx;
    .cam {
      display: block;
      width: 49rpx;
      height: 43rpx;
      margin: 84rpx auto 20rpx;
    }
    .tips {
      width: 100%;
      height: 24rpx;
      color: #504e4e;
      font-size: 24rpx;
      text-align: center;
    }
  }

  #image-cropper {
    border-radius: 8rpx;
  }
}
.section {
  width: 100%;
  padding: 0 30rpx;
  background-color: #fff;
  .list {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100rpx;
    font-weight: 600;
    font-size: 36rpx;
    border-bottom: 1rpx solid $border-color;
    input {
      width: 100%;
      padding-left: 20rpx;
      font-weight: 600;
      font-size: 36rpx;
    }
  }
  .detail {
    width: 100%;
    height: 333rpx;
    padding: 20rpx;
    overflow: hidden;
    text {
      color: #504e4e;
      font-size: 30rpx;
    }
  }
}
.second {
  margin-top: 20rpx;
  padding: 30rpx;
  .title {
    width: 100%;
    color: $title-color;
    font-size: 30rpx;
  }
  .type {
    display: grid;
    grid-gap: 10rpx 10rpx;
    grid-template-columns: repeat(auto-fill, 130rpx);
    width: 100%;
    margin-top: 20rpx;
    .item {
      width: 130rpx;
      height: 44rpx;
      color: $title-color;
      font-size: 20rpx;
      line-height: 44rpx;
      text-align: center;
      background-color: $bgcolor-gray;
      border-radius: 8rpx;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
    }
    .active {
      color: $primary-color;
      background-color: rgba($color: $primary-color, $alpha: 0.15);
    }
  }
}
.third {
  margin-top: 20rpx;
  padding: 0;
  .lists {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100rpx;
    padding: 0 30rpx;
    color: $title-color;
    border-bottom: 1rpx solid $border-color;
    .productNumber2 {
      width: 90%;
      display: flex;
      align-items: center;
    }
    .productNumber {
      display: flex;
      align-items: center;
      image {
        display: block;
        width: 40rpx;
        height: 40rpx;
      }
      .count {
        min-width: 40rpx;
        text-align: center;
      }
      .remain_count {
        min-width: 200rpx;
        text-align: center;
      }
    }
    .price {
      line-height: 30rpx;
      padding: 0 10rpx;
      color: rgb(165, 19, 44);
      border-radius: 5%;
    }
    .left {
      font-size: 30rpx;
    }
    .right {
      display: flex;
      align-items: center;
      max-width: 450rpx;
      .tips {
        color: #504e4e;
      }
      image {
        width: 14rpx;
        height: 24rpx;
        margin-left: 20rpx;
      }
      input {
        margin-right: 20rpx;
        text-align: right;
      }
    }
  }
}
radio-group text {
  font-size: 24rpx;
  // color: #666666;
}
radio .wx-radio-input {
  border-radius: 50%; /* 圆角 */
  width: 24rpx;
  border: 2rpx solid #5e5e5f;
  height: 24rpx;
}
radio .wx-radio-input.wx-radio-input-checked {
  border: none;
  background: #22ce75;
}
radio .wx-radio-input.wx-radio-input-checked::before {
  border-radius: 50%; /* 圆角 */
  width: 28rpx; /* 选中后对勾大小，不要超过背景的尺寸 */
  height: 28rpx; /* 选中后对勾大小，不要超过背景的尺寸 */
  line-height: 28rpx;
  text-align: center;
  font-size: 20rpx; /* 对勾大小 30rpx */
  color: rgb(248, 59, 59); /* 对勾颜色 白色 */
  background: #41b378;
  transform: translate(-50%, -50%) scale(1);
}
.fourth {
  margin-top: 20rpx;
  padding: 0;
  .lists {
    display: flex;
    align-items: left;
    justify-content: space-between;
    width: 100%;
    height: 100rpx;
    padding: 0 30rpx;
    color: $title-color;
    border-bottom: 1rpx solid $border-color;

    .left2 {
      font-size: 30rpx;
      width: 10%;
    }
    .right2 {
      display: flex;
      align-items: left;
      max-width: 850rpx;
      width: 80%;
    }
  }
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 690rpx;
  height: 80rpx;
  margin: 30rpx auto;
  background-color: $primary-color;
  border-radius: 40rpx;
}
.priceClass {
  display: block;
  margin: 2px;
  font-size: 28rpx;
  height: 40rpx;
}
.priceGroupClass {
  display: flex;
  flex-direction: column;
  justify-content: ‌flex-end;
}
